Auto merge of #3310 - alexcrichton:more-metadata-hashing, r=brson
authorbors <bors@rust-lang.org>
Fri, 2 Dec 2016 00:05:12 +0000 (00:05 +0000)
committerbors <bors@rust-lang.org>
Fri, 2 Dec 2016 00:05:12 +0000 (00:05 +0000)
commitc82fd7f82b8cd3a846fa63d30d6b12d79ca2abe6
tree5b41dbb8ef57d57e2e2eacab6ac268f4de237c11
parent33d20b47cd8842344994dcc7afa00d14f275b595
parent41579bada5c7091e2be1ece45d7f7e02e62fd6b3
Auto merge of #3310 - alexcrichton:more-metadata-hashing, r=brson

Apply new fingerprinting to build dir outputs

We now much more aggressively cache the output of the compiler based on feature
sets and profile configuration. Unfortunately we forgot to extend this caching
to build script output directories as well so this commit ensures that build
script outputs are cached the same way with a directory per configuration of
features and output settings.

Closes #3302
src/cargo/ops/cargo_rustc/mod.rs
tests/build-script.rs